import pandas as pd

grades = {"语文": 50, "数学": 80, "英语": 90, "计算机": 99}
data = pd.Series(data=grades)
# print(data)
df = data.reset_index()
df.columns = ["course", "grade"]

print(df)
